/**
 *  @Author MJreams
 *  @Time 2023/12/13 21:15:00
 *
**/

package serviceTwo

import (
	"fmt"
	"github.com/wwxcli/cmd/serviceTwo/options"
)

type ServiceTwo struct {
	opt *options.Options
}

func (s *ServiceTwo) Start() {
	fmt.Println("service two")
	fmt.Println(s.opt.Class)
}
func Run() {
	fmt.Println("run service two")
	serviceOne := InitServerTwo()
	serviceOne.Start()
}
func InitServerTwo() *ServiceTwo {
	return &ServiceTwo{
		opt: options.NewOptions(),
	}
}
